package com.chj;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;

public class test {
    public static void main(String[] args) {
        String postion = "[1,1]";
        JSONArray jsonObject = JSONArray.parseArray(postion);
        System.out.println(jsonObject);

        char[] positionArray = postion.toCharArray();
        System.out.println(positionArray);

        String postion2 = "[1,1]";
        System.out.println(JSON.parseObject(postion2));








    }
}
